﻿@model GameSchool.Models.TeacherXPAssignViewModel

@{
    ViewBag.Title = "XP Assignment | GameSchool";
    Layout = "~/Views/Shared/_LayoutTeacher.cshtml";
}

<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

<div class="mainSectionStuff">
    <h2>Edit @Model.courseName</h2>        
        
    <h3>Student: @Model.studentName</h3>

    <ul>
        <li>DOWNLOAD | @Model.courseName .pdf</li>
        <li>DOWNLOAD | @Model.courseName .jpg</li>
        <li>DOWNLOAD | @Model.courseName .txt</li>
    </ul>
          
        @using (Html.BeginForm())
        {
            @Html.HiddenFor(model => model.courseID)
            @Html.HiddenFor(model => model.teacherID)
            @Html.HiddenFor(model => model.stuID)
            @Html.HiddenFor(model => model.assID)
                
            <div class="tableSubtitle">XP
                 @Html.TextBoxFor(model => model.assXP) <span> / @Model.assXP</span>
            </div>
                        
            <p>
                <input type="submit" value="Save XP Assignment" />
            </p>        
        }
</div>  


@section menu{

    <li>@Html.ActionLink("Courses Overview", "TeacherHome", "Teacher")</li> 
    <li>@Html.ActionLink("Edit Course", "CourseEdit", "Course", new { CID = Model.courseID }, null)</li>    
    <li>@Html.ActionLink("Edit Levels", "LevelEdit", "Level", new { CID = Model.courseID }, null)</li>
    <li>@Html.ActionLink("XP Asignment", "XPAsignment", "Teacher", new { CID = Model.courseID }, null)</li>
    <li>@Html.ActionLink("Achievements", "CreateAchievement", "Achievement")</li>

}